#import <UIKit/UIKit.h>
UIKIT_EXTERN CGFloat const JTWNaviBarHeight;
@protocol DDNaviBarDelegate <NSObject>

- (void)shouldBackToPreviousViewController;
- (void)shouldCancelCurrentViewController;

@end
@interface DDNaviBar : UIControl
@property (nonatomic, copy) NSString *title;
@property (nonatomic, strong) UIButton *backBtn;
@property (nonatomic, strong) UIButton *cancelBtn;
@property (nonatomic, weak) id <DDNaviBarDelegate>delegate;

@end
